<template>
  <div class="coupon">
      <div class="couponcon">
     <Couponbar/>
       <div class="use">
           <div class="usecon">
        <router-link to="/coupon/ernouse" class="link"><span>未使用</span></router-link>
           </div>
           <div class="usecon">
 <router-link to="/coupon/eruse" class="link"><span>已使用</span></router-link> 
           </div>
               
  </div>
  <router-view/>
      </div>
  </div>
</template>

<script>
import Couponbar from '@/components/flower/couponbar.vue'
export default {
components:{
    Couponbar
}
}
</script>

<style scoped>
@import '../../../public/flower/iconfont.css';
.coupon .couponcon{
    background-color: #ffffff;
}
.icon-jiantou2{
    font-size: 0.2rem;
    color:#d27428;
}
.title{
    margin-left: 1.3rem;
    color:#363636;
}
.use{
    width: 100%;
    height: 0.38rem;
    line-height: 0.38rem;
    border-bottom: 0.02rem solid #f5f5f5;
    display: flex;
}
.usecon{
    width: 50%;
    padding-left:0.5rem;  
    box-sizing: border-box;
}
.link{
    display: block;
    width: 50%;
    height: 0.38rem;
    font-size: 0.16rem;
    color: #bdbdbd;
    text-align: center;
}
.router-link-active{
    color:#de4533;
    border-bottom: 0.04rem solid #df4534;
    box-sizing: border-box;
}
</style>